|
|
|
|
<xmlNode variable>.FindNamespaceByName (Function) In french: <Variable xmlNoeud>.ChercheNamespaceParNom Finds an XML namespace according to its XML node and in the parents of the node.
gcXMLDocument is xmlDocument gcXMLDocument = XMLOpen("c:\temp\file.xml", fromFile) Â cNode is xmlNode = gcXMLDocument..RootNode[1] cNamespace is xmlNamespace = cNode.FindNamespaceByName("mynamespace") Â IF ErrorOccurred = True THEN Info("The namespace was not found.") ELSE Info("Namespace found: ", cNamespace.URI) END
Syntax
<Result> = <XML node>.FindNamespaceByName(<Namespace name>)
<Result>: xmlNamespace variable Namespace corresponding to the sought name. <XML node>: xmlNode variable Name the xmlNode variable that corresponds to the node of the XML document from which the search is performed. <Namespace name>: Unicode string Name of namespace to find.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|